package com.cafe.pro.dto;

import com.cafe.pro.aop.EncryptedField;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
@AllArgsConstructor
public class UserSearchRequest implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    private String name;
    @EncryptedField("encryptedPhone")
    private String phone;
    @EncryptedField("encryptedIdCard")
    private String idCard;
    private String encryptedPhone;
    private String encryptedIdCard;
}
